/**
 * Created by zhaoyanzhi on 16-9-20.
 */
app.controller("indexPage",function($scope,$location){
    $scope.jumpLandingPage = function(){
        $location.path("/landingPage");
    };
    $scope.jumpRegistrationPage= function(){
        $location.path("/registrationPage");
    };
    $scope.jumpHomePage=function(){
        $location.path("/")
    }
    $scope.jumpProductListPage=function(){
        AV.User.logOut();
        var currentUser = AV.User.current();
        $location.path("/productListPage")
    }
})
